-- GENERATED SPELL FOR [Infected Nightstalker Runt] --


function spell0_17202(pUnit, Event) --@Prowl,Self--
pUnit:FullCastSpellOnTarget(24450,pUnit)
pUnit:RegisterEvent('Sorts_17202', 0, 1)
end

function Sorts_17202(pUnit, Event)
local choix_sorts_17202 = math.random(0, 0)
if choix_sorts_17202 == 0 then
pUnit:RegisterEvent('spell0_17202', 1, 1)
end
end

function mob17202_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17202', math.random(1500, 3000), 1)
end

function mob17202_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17202_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17202_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17202, 1, 'mob17202_Action')
RegisterUnitEvent(17202, 2, 'mob17202_Leave')
RegisterUnitEvent(17202, 3, 'mob17202_Kill')
RegisterUnitEvent(17202, 4, 'mob17202_Die')
